<?php

if($_POST['id']==25){
  $arr = array('name'=>'Shekhar',
                'email'=>'vikas.nice@gmail.com',
                'address'=>'Sec 56 Noida');
} else {
    $arr = array('name'=>'Default Name',
                'email'=>'noname@gmail.com',
                'address'=>'Don\'t know');
}
sleep(0);
echo json_encode($arr);
